body {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

button {
    margin: 0;
    padding: 0;
}

.wrapper {
    width: 300px;
    position: relative;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    border: olive 1px solid;
}

h1 {
    text-align: center;
}

.wrapper ul li {
    display: none;
    font-size: 0;
}

.wrapper ul li.artive {
    display: block;
}

.wrapper ul li img {
    width: 100%;
}

button {
    position: absolute;
    width: 20px;
    height: 30px;
    border: 1px solid red;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
}

.leftbut {
    left: 20px;
}

.rigbut {
    right: 20px;
}

.wrapper div {
    text-align: center;
}

.wrapper div span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid red;
    cursor: pointer;
}

.wrapper div span.artive {
    background-color: orange;
}